﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Jiffy.Core.Auth.Dto
{
    /// <summary>
    /// <c>【鉴权领域】</c>
    /// 关联表基类
    /// </summary>
    public abstract class AuthEntityR : IEntity<AuthDbContextLocator>
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        [Comment("Id主键")]
        public long Id { get; set; }
    }
}